<div class="list-div" id="listDiv"> 
<table cellpadding="0" cellspacing="1" class="table_list"> 
<tr> 
<th>模型ID</td> 
<th>模型名称</td> 
<th>描述</td> 
<th>保存表名</td> 
<th>类型</td> 
<th>管理操作</th> 
</tr> 
{loop $infos $k $info}
<tr> 
<td style="width:10%" class="align_c">{$info['modelid']}</td> 
<td style="width:15%" class="modeleditable" id="name|$info['modelid']|{$info['name']}">{$info['name']}</td> 
<td class="modeleditable" id="description|$info['modelid']|{$info['description']}">{$info['description']}</td> 
<td style="width:10%" class="modeleditable" id="tablename|$info['modelid']|{$info['tablename']}">{$info['tablename']}</td> 
<td style="width:10%" class="align_c">{if $info['modeltype']=='0'}直播{elseif $info['modeltype']=='1'}点播{elseif $info['modeltype']=='2'}专题{elseif $info['modeltype']=='3'}文本{elseif $info['modeltype']=='4'}主表{elseif $info['modeltype']=='5'}子表{/if}</td> 
<td class="align_center_120"> 
<a href="/modelfield/index/modelid/{$info['modelid']}/t/{$info['tablename']}/"><img src="/images/manage/config.gif" alt="字段管理" title="字段管理"/></a> |
<a class="ajaxsubmit" href="/model/modifyajaxrevers/field/disabled/pri/{$info['modelid']}">{if $info['disabled']==1}<img src="/images/manage/offline.gif" alt="点击启用" title="点击启用"/>{else}<img src="/images/manage/online.gif" alt="点击禁用" title="点击禁用"/>{/if}</a> |
<a class="ajaxsubmit" href="/model/delete/modelid/{$info['modelid']}/tablename/{$info['tablename']}"><img src="/images/manage/del.gif" alt="删除" title="删除"/></a> 
</td> 
</tr> 
{/loop}
</table> 
</div> 
<script type="text/javascript" language="javascript">pCount =$PageCount;</script>